home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / Metafont / Inputs / ec / txsymb.mf < prev    next >
Text File  |  1997-03-16  |  2KB  |  71 lines

  1. % txsymb.mf
  2. %
  3. % (c) Copyright 1995, 1996, 1997 J"org Knappen
  4. %
  5. % This file is part of ecfonts version 1.0
  6. %
  7. % Please read the files 00readme.txt, 00inst.txt, 00error.txt, and
  8. % copyrite.txt for further information
  9. %
  10. % You find some documentation in ecdoc.tex (needs LaTeX2e)
  11. %
  12. % EC Version 1.0
  13. % 19-JAN-1997
  14. %
  15. % Driver file for the tc fonts
  16. %
  17.  
  18. version_check(1,0);  % |version_check| was introduced in dc1.3
  19.  
  20. input exaccess;            % accent accessories
  21. input txpseudo;            % pseudoparameters
  22.  
  23. mode_setup; font_setup; pseudo_setup;
  24.  
  25. input txaccent;            % flat accents for capital letters
  26. input txgen;               % genealogical symbols (by DEK)
  27. input txsymbol;            % misc. symbols
  28. if variant_g:              % italics?
  29.  input txitlod;            % old style digits (by GJL)
  30.  input txisuper;           % superscript 1,2,3
  31.  input txifract;           % fractions 1/4, 1/2, 3/4
  32. else:                      % roman
  33.  input txromod;            % old style digits (by DEK)
  34.  input txrsuper;           % superscript 1,2,3
  35.  input txrfract;           % fractions 1/4, 1/2, 3/4
  36. fi;
  37.  
  38. % Ligtable
  39.  
  40. if not monospace:
  41.  ligtable "-": oct"177" =: oct"177"; % <hyphen><hyphenchar> => <hyphenchar>
  42. fi
  43.  
  44. % Fontparameter
  45. %
  46. font_coding_scheme:="TeX text companion symbols 1---TS1";
  47. boundarychar:=oct"027";
  48. font_slant slant; 
  49. font_x_height x_height#;
  50. font_cap_height cap_height#;
  51. font_asc_height asc_height#;
  52. font_acc_cap_height (cap_height#+acc_height#);
  53. font_desc_depth desc_depth#;
  54. font_max_height(max(asc_height#,body_height#,
  55.   cap_height#+acc_height#));
  56. font_max_depth(max(desc_depth#,paren_depth#,the_ogonek_depth#));
  57. % font_digit_width % set inside the digits file
  58. font_cap_stem cap_stem#; % No letter capital I in the symbols
  59. font_baselineskip max(1.2*designsize,body_height#+paren_depth#);
  60.  
  61. if monospace: font_normal_space 9u#; % no stretching or shrinking
  62.  font_quad 18u#;
  63.  font_extra_space 9u#;
  64. else: font_normal_space 6u#+2letter_fit#;
  65.  font_normal_stretch 3u#; font_normal_shrink 2u#;
  66.  font_quad 18u#+4letter_fit#;
  67.  font_extra_space 2u#;
  68. fi
  69.  
  70. bye.
  71.